<template>
  <div id="app">
    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "app",
  beforeCreate(){
      console.log("this_test",this.test)
  },
  created() {
    console.log("this_test",this.test)
  },
  data:function(){
     return {
        test:'test'
     }
  }
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  display: flex;
  flex-direction: column;
  flex: 1;
  background-color: #fff;
  width: 100%;
  height: 100%;
}
</style>


